
package picturemouse;

import java.io.Serializable;

/**
 *
 * @author Group D
 */
public class Film implements Serializable {
    
    private final String filmName;
    private final String synopsis;
    private final String trailer;
    
    /**
    * Constructor for film objects with film title, synopsis, and trailer.
    * 
    * @param	filmName	Title of film
    * @param	synopsis	Film synopsis provided by studio
    * @param	trailer		Location of trailer (local or web)
    */
    public Film(String filmName, String synopsis, String trailer) {
        this.filmName = filmName;
        this.synopsis = synopsis;
        this.trailer = trailer;
    }
    
    //Public getter methods
    
    public String getName() {
        return filmName;
    }
    
    public String getSynopsis() {
        return synopsis;
    }
    
    public String getTrailer() {
        return trailer;
    }
    
}
